package com.cskaoyan.bean.po;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @author stone
 * @date 2022/06/25 11:09
 */
@Data
public class BasePageInfo {
	@Min(1) //该成员变量对应的请求参数的值，最小值为1
    Integer page;
	@Min(10)
	@Max(100)
	Integer limit;
	@Length(min = 6)
	String sort;
	String order;
	
}
